<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<script>
function    selectPsnCall(data) {
	$(document).find("input[name$='psn_code']").val(data.person.psnCode);
	$("#fzr_psnname").html(data.personExtend.basic_info.zh_name);
	$("#fzr_mobile").html(data.personExtend.contact.mobile);
	$("#fzr_email").html(data.personExtend.contact.email);
	
	
	
	<security:authorize ifAnyGranted="A_MENU_MANAGE_19">
	$("#depart_code").val(data.person.deptCode);
	</security:authorize>
	
	tb_remove2();
}
</script>

 <input type="hidden" name="organizations/organization[0]/sequence_no" value="1" >
<input type="hidden" name="organizations/organization[0]@submit_org" value="1" >
<input type="hidden" name="organizations/organization[0]/org_code" value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>" >
<div class="t_bar">${param.title }</div>

<table class="t_css table01" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	<col style="width:13%"/>
	<tr  class="li_1">
		<td align="right" nowrap>企业名称：</td>
		<td colspan="3"><span name="organizations/organization[0]/org_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
		    </span>
		</td>
		<td align="right" nowrap>组织机构代码：</td>
		<td colspan="3">
		    <span name="organizations/organization[0]/org_no"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_no" /> 
		    </span>
		</td>
	</tr>
	
	<tr  class="li_2">
		<td align="right" nowrap>成立时间：</td>
		<td colspan="3">
		    <span name="organizations/organization[0]/registe_date"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date" />
		    </span>
		</td>
		<td align="right" nowrap><span class="color_red">*</span>注册地址：</td>
		<td colspan="3">
			<input type="text" style="width: 90%" maxlength="50" name="proposal/register_address" id="register_address" class="input_css required" value="<x:out select="$xmlData/data/proposal/register_address" />" label="${param.title}-->注册地址" />
		</td>
	</tr>
	
	<tr  class="li_1">
		<td align="right" >注册资本：</td>
		<td colspan="3">
		    <span name="organizations/organization[0]/registe_fund"> 
			    <x:out select="$xmlData/data/org_basic_info/registe_fund" />
		    </span>万
		    <span name="organizations/organization[0]/registe_fund_money_name">
		    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_fund_money_name" />
		    </span>
		</td>
		<td align="right">实收资本：</td>
		<td  colspan="3">
		    <span name="organizations/organization[0]/official_fund"> 
			    <x:out select="$xmlData/data/org_basic_info/official_fund" />
		    </span>万
		    <span name="organizations/organization[0]/official_fund_money_name">
		    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/official_fund_money_name" />
		    </span>
		    
		</td>
	</tr>
	<tr class="li_2">
            <td align="right">开户银行：</td>
            <td align="left" colspan="3">
               <span name="org_basic_info/bank_name">
		            <x:out select="$xmlData/data/org_basic_info/bank_name" />
		       </span>
            </td>
            <td align="right">开户户名：</td>
				<td align="left" colspan="3">
				<span name="org_basic_info/bank_orgname">
				<x:out select="$xmlData/data/org_basic_info/bank_orgname" />
				</span>
				</td>
            
            
      </tr>
      <tr class="li_1" >
            <td align="right">银行账号：</td>
            <td align="left" colspan="3">
                <span name="org_basic_info/bank_account" >
		            <x:out select="$xmlData/data/org_basic_info/bank_account" />
		        </span>
            </td>    
            <td align="right">工商注册类型：</td>
				<td  colspan="3">
		   	<span name="organizations/organization[0]/nature_name">
		      <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_name" />
		      </span>
		   	<input  type="hidden"   value="<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />" label="${param.title }-->注册类型" name="organizations/organization[0]/nature_value"/>
		</td>      
      </tr> 
      <tr class="li_2">
      <td align="right">工商登记号：</td>
      <td align="left" colspan="7">
               <span name="organizations/organization[0]/org_licence">
		            <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_licence" />
		       </span>
            </td>
            </tr>
      
  <tr  class="li_1">
		<td align="right">法定代表人：</td>
		<td  colspan="3">
          <span name="organizations/organization[0]/cname">
					<x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname" />
		    </span>
		</td>
		<td align="right">身份证号码：</td>
		<td  colspan="3">
		    <span name="org_persons/organization_person[0]/id_no">
		    	<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_no"/>
		    </span>
		</td>
	</tr>	 
	<tr  class="li_2">
		<td align="right">学历：</td>
		<td  colspan="3">
		  <span name="organizations/organization[0]/legal_educate_background_name"> 
		  <x:out select="$xmlData/data/organization_persons/person[@type='faren']/educate_background_name" />
			</span>
		</td>
		<td align="right">邮政编码：</td>
		<td  colspan="3">
		    <span name="organizations/organization[0]/zip_code"> 
			    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code" /> 
		    </span>
		</td>
	</tr>
	
	<tr  class="li_1">
		<td align="right">通信地址：</td>
		<td colspan="3"> <span name="organizations/organization/address">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address" />
		    </span>
		</td>
		<td align="right">归口管理部门：</td>
		<td colspan="3"><span name="organizations/organization/tjbm_org_name"><x:out select="$xmlData/data/proposal/tjbm_org_name"/>
		</span>
		</td>
		
	</tr>
	
	
</table>

<table class="t_css table01" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	<col style="width:13%"/>
	<col style="width:12%"/>
	
	<tr  class="t_tr">
	<td></td>
	<td align="center" colspan="2">姓名</td>
    <td align="center" colspan="2">手机号码</td>
    <td align="center" colspan="2">电子邮箱</td>
	</tr>
	<tr  class="li_1">
	<td align="right">企业负责人：</td>
	<td align="center" colspan="2"><span name="organization_person/org_fuzeren_cname"><x:out
					select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname" />
		    </span>
		    </td>
    <td align="center" colspan="2"><span name="organization_person/org_fuzeren_mobile"><x:out
					select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile" />
		    </span></td>
    <td align="center" colspan="2"><span name="organization_person/org_fuzeren_email"><x:out
					select="$xmlData/data/organization_persons/person[@type='fuzeren']//email" />
		    </span></td>
	</tr>
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<tr  class="li_2">
	<td align="right">项目负责人：</td>
	<td align="center" colspan="2">
	<span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
	</td>
    <td align="center" colspan="2">
    <span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
    </td>
    <td align="center" colspan="2">
    <span name="proposal/fzr_email"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
    </td>
	</tr>
	</security:authorize>
	<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
	<tr  class="li_2">
	<td align="right">项目负责人：</td>
	<td align="center" colspan="2">
	<c:set var="fzr_psnname"><x:out select="$xmlData/data/proposal/fzr_psnname" /></c:set>
	
	<span name="proposal/fzr_psnname" id="fzr_psnname">
	
	<c:choose>
	 <c:when test="${fzr_psnname != null  and fzr_psnname != ''}">
	  <c:out value="${fzr_psnname }"/>
	 </c:when>
	 <c:otherwise>
	 <x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" />
	 </c:otherwise>
	</c:choose>
	
	</span>
	
	<span id="personSelect">
	<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置项目负责人">
	<cpt:personSelect key="personSelect" addRole="3" psnCode="${param.psnCode }" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
	</span>
	</td>
    <td align="center" colspan="2">
    <c:set var="fzr_mobile"><x:out select="$xmlData/data/proposal/fzr_mobile" /></c:set>
    <span name="proposal/fzr_mobile" id="fzr_mobile">
    <c:choose>
	 <c:when test="${fzr_mobile != null  and fzr_mobile != ''}">
	  <c:out value="${fzr_mobile }"/>
	 </c:when>
	 <c:otherwise>
	 <x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />
	 </c:otherwise>
	</c:choose>
    </span>
    </td>
    <td align="center" colspan="2">
    <c:set var="fzr_email"><x:out select="$xmlData/data/proposal/fzr_email" /></c:set>
    <span name="proposal/fzr_email" id="fzr_email">
    <c:choose>
	 <c:when test="${fzr_email != null  and fzr_email != ''}">
	  <c:out value="${fzr_email }"/>
	 </c:when>
	 <c:otherwise>
	 <x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" />
	 </c:otherwise>
	</c:choose>
    </span>
    </td>
	</tr>
	</security:authorize>
	<tr  class="li_1">
	<td align="right">联系人：</td>
	<td align="center" colspan="2"><span name="proposal/contact_psn_cname"><x:out
					select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_name" />
		    </span></td>
    <td align="center" colspan="2"><span name="proposal/contact_psn_mobile"><x:out
					select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_mobile" />
		    </span></td>
    <td align="center" colspan="2"><span name="proposal/contact_psn_email"><x:out
					select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email" />
		    </span></td>
	</tr>
	
</table>
<br/>